package miaomaster.controller;


import jakarta.annotation.Resource;
import miaomaster.service.OrderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderController {

    @Resource
    private OrderService orderService;


    @GetMapping("/order")
    public String getUser() {
        return orderService.getOrder();
    }


}
